package com.user.service;

import com.github.pagehelper.Page;
import com.user.entity.User;
import com.user.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by qpx on 2017/5/11.
 */
@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;
    public Page<User> getUserList(User user) {
        return userMapper.getUserList(user);
    }
}
